home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds.fmt / renice.man < prev    next >
Encoding:
Text File  |  1990-10-25  |  2.2 KB  |  67 lines

  1.  
  2.  
  3.  
  4. RENICE                    User Commands                    RENICE
  5.  
  6.  
  7.  
  8. NNAAMMEE
  9.      renice - alter priority of running processes
  10.  
  11. SSYYNNOOPPSSIISS
  12.      rreenniiccee priority [ [ --pp ] pid ... ] [ [ --gg ] pgrp ... ]
  13.  
  14. DDEESSCCRRIIPPTTIIOONN
  15.      _R_e_n_i_c_e alters the scheduling priority of one or more running
  16.      processes.  The _w_h_o parameters are interpreted as process
  17.      ID's, process group ID's, or user names.  _R_e_n_i_c_e'ing a pro-
  18.      cess group causes all processes in the process group to have
  19.      their scheduling priority altered. By default, the processes
  20.      to be affected are specified by their process ID's.  To
  21.      force _w_h_o parameters to be interpreted as process group
  22.      ID's, a --gg may be specified.  Supplying --pp will reset _w_h_o
  23.      interpretation to be (the default) process ID's.
  24.  
  25.      Users other than the super-user may only alter the priority
  26.      of processes they own, and can only monotonically increase
  27.      their ``nice value'' within the range 0 to PRIO_MAX (20).
  28.      (This prevents overriding administrative fiats.) The super-
  29.      user may alter the priority of any process and set the
  30.      priority to any value in the range PRIO_MIN (-20) to
  31.      PRIO_MAX.  Useful priorities are: 20 (the affected processes
  32.      will run only when nothing else in the system wants to), 0
  33.      (the ``base'' scheduling priority), anything negative (to
  34.      make things go very fast).
  35.  
  36. FFIILLEESS
  37.      /etc/passwd    to map user names to user ID's
  38.  
  39. SSEEEE AALLSSOO
  40.      getpriority(2), setpriority(2)
  41.  
  42. BBUUGGSS
  43.      Non super-users can not increase scheduling priorities of
  44.      their own processes, even if they were the ones that
  45.      decreased the priorities in the first place.
  46.  
  47. SSPPRRIITTEE
  48.      Renice on Sprite must map Unix priorities in the range -20
  49.      to 20 into one of the five Sprite priorities. The mapping is
  50.      done as follows:
  51.      -20 - -20 -> -20
  52.      -19 - -10 -> -10
  53.       -9 -   9 ->  0
  54.       10 -  19 -> 10
  55.       20 -  20 -> 20
  56.      For example, renice'ing a process to priority 9 will cause
  57.      it to run at the same priority as processes reniced to -9
  58.      through 9.
  59.  
  60.  
  61.  
  62.  
  63. Sprite v1.0               June 24, 1990                         1
  64.  
  65.  
  66.  
  67.